ul li:nth-of-type(odd) {
    background-color: blueviolet;
}
ul li:nth-of-type(even) {
    background-color: springgreen;
}

img{
    width: 400px;
    height: 300px;
}